package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinsoft.entity.dto.SysDeptDto;
import com.xinsoft.entity.dto.SysDeptUserDto;
import com.xinsoft.entity.po.SysDept;

import java.util.List;

/**
* @author lijie
* @description 针对表【sys_dept(部门表)】的数据库操作Mapper
* @createDate 2023-05-17 09:48:12
* @Entity com.xinsoft.entity.po.SysDept
*/
public interface SysDeptMapper extends BaseMapper<SysDept> {

    List<SysDeptDto> getDeptList();

    List<SysDeptUserDto> getDeptUserList();

    void insertOrUpdateBatch(List<SysDept> sysDeptList);
}




